[INFO] fetching crate ndarray-zfp-rs 0.1.0...
[INFO] checking ndarray-zfp-rs-0.1.0 against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] extracting crate ndarray-zfp-rs 0.1.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate ndarray-zfp-rs 0.1.0 on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ndarray-zfp-rs 0.1.0
[INFO] finished tweaking crates.io crate ndarray-zfp-rs 0.1.0
[INFO] tweaked toml for crates.io crate ndarray-zfp-rs 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 425f0a17ffbb16ebfb486dd5aa263df09c46ff6e1b0fd90fef3dd02fe0acf8a7
[INFO] running `Command { std: "docker" "start" "-a" "425f0a17ffbb16ebfb486dd5aa263df09c46ff6e1b0fd90fef3dd02fe0acf8a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "425f0a17ffbb16ebfb486dd5aa263df09c46ff6e1b0fd90fef3dd02fe0acf8a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "425f0a17ffbb16ebfb486dd5aa263df09c46ff6e1b0fd90fef3dd02fe0acf8a7", kill_on_drop: false }`
[INFO] [stdout] 425f0a17ffbb16ebfb486dd5aa263df09c46ff6e1b0fd90fef3dd02fe0acf8a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95abb76755f7eec7093d3e3f92e7e0ffd74ed9ea28c21d55b4d61829341e491c
[INFO] running `Command { std: "docker" "start" "-a" "95abb76755f7eec7093d3e3f92e7e0ffd74ed9ea28c21d55b4d61829341e491c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling anyhow v1.0.64
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling clang-sys v1.3.3
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]     Checking matrixmultiply v0.2.4
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling clap v3.2.21
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling zfp-sys v0.1.11
[INFO] [stderr]     Checking ndarray-zfp-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/lib.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::{Array1, Array, Array2};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]  --> src/lib.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn zfp_compress(mut self, tolerance: f64) -> Result<Vec<u8>>;
[INFO] [stdout]   |                     ^^^^^^^^ help: remove `mut` from the parameter: `self`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/lib.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::{Array1, Array, Array2};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]  --> src/lib.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn zfp_compress_with_header(mut self, tolerance: f64) -> Result<Vec<u8>>;
[INFO] [stdout]   |                                 ^^^^^^^^ help: remove `mut` from the parameter: `self`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]  --> src/lib.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn zfp_compress(mut self, tolerance: f64) -> Result<Vec<u8>>;
[INFO] [stdout]   |                     ^^^^^^^^ help: remove `mut` from the parameter: `self`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]  --> src/lib.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn zfp_compress_with_header(mut self, tolerance: f64) -> Result<Vec<u8>>;
[INFO] [stdout]   |                                 ^^^^^^^^ help: remove `mut` from the parameter: `self`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut buffer: Vec<u8> = vec![0; bufsize];
[INFO] [stdout]    |                               --------^^^^^^^-
[INFO] [stdout]    |                               |       |
[INFO] [stdout]    |                               |       expected `usize`, found `u64`
[INFO] [stdout]    |                               arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut buffer: Vec<u8> = vec![0; bufsize.try_into().unwrap()];
[INFO] [stdout]    |                                              ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut buffer: Vec<u8> = vec![0; bufsize];
[INFO] [stdout]    |                               --------^^^^^^^-
[INFO] [stdout]    |                               |       |
[INFO] [stdout]    |                               |       expected `usize`, found `u64`
[INFO] [stdout]    |                               arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut buffer: Vec<u8> = vec![0; bufsize.try_into().unwrap()];
[INFO] [stdout]    |                                              ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `std::ops::Range<u64>`
[INFO] [stdout]   --> src/lib.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     return Ok(buffer[0..zfpsize].to_vec());
[INFO] [stdout]    |                      ^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `std::ops::Range<u64>`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              <std::ops::Range<usize> as SliceIndex<[T]>>
[INFO] [stdout]              <std::ops::Range<usize> as SliceIndex<str>>
[INFO] [stdout]    = note: required for `Vec<u8>` to implement `std::ops::Index<std::ops::Range<u64>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:82:104
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let stream = unsafe { zfp_sys::stream_open(compressed_bytes.as_mut_ptr() as *mut std::ffi::c_void, compressed_bytes.len()) };
[INFO] [stdout]    |                           -------------------- arguments to this function are incorrect                ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/zfp-sys-8193d44f48c67a73/out/bindings.rs:3:20369
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...pub static stream_word_bits : size_t ; } extern "C" { pub fn stream_open (buffer : * mut :: std :: os :: raw :: c_void , bytes : size_...
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let stream = unsafe { zfp_sys::stream_open(compressed_bytes.as_mut_ptr() as *mut std::ffi::c_void, compressed_bytes.len().try_into().unwrap()) };
[INFO] [stdout]    |                                                                                                                              ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `std::ops::Range<u64>`
[INFO] [stdout]   --> src/lib.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     return Ok(buffer[0..zfpsize].to_vec());
[INFO] [stdout]    |                      ^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `std::ops::Range<u64>`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              <std::ops::Range<usize> as SliceIndex<[T]>>
[INFO] [stdout]              <std::ops::Range<usize> as SliceIndex<str>>
[INFO] [stdout]    = note: required for `Vec<u8>` to implement `std::ops::Index<std::ops::Range<u64>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:82:104
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let stream = unsafe { zfp_sys::stream_open(compressed_bytes.as_mut_ptr() as *mut std::ffi::c_void, compressed_bytes.len()) };
[INFO] [stdout]    |                           -------------------- arguments to this function are incorrect                ^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/zfp-sys-8193d44f48c67a73/out/bindings.rs:3:20369
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...pub static stream_word_bits : size_t ; } extern "C" { pub fn stream_open (buffer : * mut :: std :: os :: raw :: c_void , bytes : size_...
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^
[INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let stream = unsafe { zfp_sys::stream_open(compressed_bytes.as_mut_ptr() as *mut std::ffi::c_void, compressed_bytes.len().try_into().unwrap()) };
[INFO] [stdout]    |                                                                                                                              ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ndarray-zfp-rs` due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ndarray-zfp-rs` due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "95abb76755f7eec7093d3e3f92e7e0ffd74ed9ea28c21d55b4d61829341e491c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95abb76755f7eec7093d3e3f92e7e0ffd74ed9ea28c21d55b4d61829341e491c", kill_on_drop: false }`
[INFO] [stdout] 95abb76755f7eec7093d3e3f92e7e0ffd74ed9ea28c21d55b4d61829341e491c
